<script>
  var xhr = new XMLHttpRequest();
  xhr.open('POST', 'test.php?a=1&b=2');
  xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  xhr.send('c=3&d=4');
</script>
<p>
  <a href="file:///C:/Users/rise/Desktop/%E9%A6%96%E9%A1%B5/default/10.html">返回</a>
</p>